package com.jxmcloud.business.cut.service.database;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jxmcloud.business.cut.model.database.DBGoodsPoolRecord;
import com.jxmcloud.business.cut.model.query.GoodsPoolRecordQuery;
import com.jxmcloud.business.cut.vo.GoodsPoolRecordVo;

import java.util.List;

public interface IGoodsPoolRecordDBService extends IService<DBGoodsPoolRecord> {
    /**
     * 基本数据插入
     * @param info
     * @return
     */
    boolean insertIntoData(DBGoodsPoolRecord info);

    // 基本数据查找
    DBGoodsPoolRecord selectOne(Integer uid);

    // 批量查找
    List<DBGoodsPoolRecord> selectAll(List<Integer> uid);

    // 数据删除
    boolean deleteData(Integer uid);

    // 基本数据修改
    boolean updateData(DBGoodsPoolRecord info);

    IPage<GoodsPoolRecordVo> getGoodsPoolRecordPage(GoodsPoolRecordQuery query);
}
